package tp.disenio.client;
import javax.persistence.EntityManager;

import tp.disenio.factory.JpaUtil;

import ClasesDAO.DAO_General;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.dom.client.Style.Position;
import com.google.gwt.user.client.Window;
import com.google.gwt.user.client.ui.RootPanel;

public class Index implements EntryPoint{
	
	@Override
	public void onModuleLoad() {
		
		final Background background = new Background();
		final Ingreso ingreso = new Ingreso();
		final RootPanel rootPanel = RootPanel.get("nameFieldContainer");

		RootPanel.get().setStyleName("rootPanel");
		RootPanel.get().getElement().getStyle().setPosition(Position.RELATIVE);
		RootPanel.get().setVisible(true);
		
		rootPanel.getElement().getStyle().setPosition(Position.RELATIVE);
		rootPanel.add(background);
		rootPanel.add(ingreso,(Window.getClientWidth()/3),150);
		
	}
	
	
}
	
	 